package com.example.learn_android;


import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.TextView;

import androidx.annotation.Nullable;

public class Xml_page extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_xml_page);
       TextView text= findViewById(R.id.xml_text);
       text.setText("改变");
       text.setTextSize(60);
       text.setTextColor(Color.RED);
    }
}